import DcItem from '@/pages/dnd/right/item';

export default function List(props: any) {
  const { items, move } = props;
  return (
    <>
      {items && items.length
        ? items.map((item: any) => {
            return <DcItem key={item.id} item={item} move={move} />;
          })
        : null}
    </>
  );
}
